package model

import (
	"time"
)

type AuCoupon struct {
	CouponId      int       `xorm:"not null pk autoincr INT(10)"`
	CouponNo      string    `xorm:"not null VARCHAR(30)"`
	CouponTypeId  int       `xorm:"not null INT(10)"`
	EmpId         int       `xorm:"not null INT(10)"`
	AssignStatus  int       `xorm:"not null TINYINT(1)"`
	StartDate     time.Time `xorm:"not null DATE"`
	EndDate       time.Time `xorm:"not null DATE"`
	Createtime    time.Time `xorm:"not null DATETIME"`
	BranchCompany int       `xorm:"not null default 0 INT(10)"`
	GrantType     int       `xorm:"not null TINYINT(4)"`
	Amount        int       `xorm:"not null INT(11)"`
}
